home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / April 96 / Re FW_CFrame ActivateFrame() < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.4 KB  |  [TEXT/ttxt]

  1. Subject:     Re: FW_CFrame::ActivateFrame()
  2. Sent:        4/9/96 8:38 AM
  3. Received:    4/9/96 8:49 AM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >I have had difficulty grabbing foci on a mouse down inside an embedded
  9. >frame of my part's frame that is "bundled" (user terminology) or "frozen"
  10. >(OpenDoc terminology). As far as I can tell, I'm not getting a mouse-up
  11. >event that calls ActivateFrame in this case.
  12. >
  13. >So, I manually called ActivateFrame from my DoMouseDown method of my frame
  14. >class. Grabbing foci is so much more responsive. It looks crisper and
  15. >faster than waiting for a mouse up. Is it too late to evaluate how this
  16. >should work for ODF 1.0?
  17.  
  18. You will see a better handling of activation in ODF Release 1. I was 
  19. playing with a bundled ODFBitmap embedded in an ODFDraw embedded in an 
  20. ODFDraw (all from ODF release 1). When the top ODFDraw is active, 
  21. clicking in the ODFBitmap immediatly activates the second level ODFDraw 
  22. (on MouseDown). I think this is what you want? 
  23.  
  24. .......................................................................
  25.  Henri Lamiraux                                      lamiraux@apple.com
  26.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  27. .......................................................................
  28.  
  29.